﻿using System.Collections.Generic;
using Volo.Abp.Domain.Entities;

namespace MetroManagement
{
    /// <summary>
    /// 城市类
    /// </summary>
    public class City : Entity<int>
    {
        /// <summary>名称</summary>
        public string Name { get; protected set; }

        /// <summary>城市编码</summary>
        public int Code { get; protected set; }

        /// <summary>地铁总览图</summary>
        public string ImgUrl { get; protected set; }

        /// <summary>站点集合</summary>
        public IList<Station> Stations { get; protected set; }

        /// <summary>线路集合</summary>
        public IList<Line> Lines { get; protected set; }

        private City() { }
    }
}